package com.xquant.marketdata.marketdata.domain;

import java.math.BigDecimal;
import com.xquant.common.core.annotation.Excel;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 商品延期对象 tcmdtdel
 *
 * @author zipeng.li
 * @date 2022-03-10
 */
public class TcmdtdelDTO
{
    /** 交易代码 */
    @Excel(name = "合约代码")
    private String iCode;

    /** 资产类型 */
    private String aType;

    /** 市场类型 */

    private String mType;

    /** 名称 */
    @Excel(name = "合约名称")
    private String name;

    /** 国家 */
    private String country;

    /** 币种 */
    private String currency;

    /** 报价方式 */
    private String qType;

    /** 产品分类 */
    private String pClass;

    /** 产品类型 */
    @Excel(name = "产品类型")
    private String pType;

    /** 标准类型 */
    private String sType;

    /** 标的交易代码 */
    @Excel(name = "标的交易代码")
    private String uICode;

    /** 标的资产类型 */
    private String uAType;

    /** 标的市场类型 */
    private String uMType;

    /** 交易品种 */
    private String tradeCode;

    /** 交易品种名称 */
    private String tradeName;

    private String settleType;

    /** 报价单位 */
    @Excel(name = "报价单位")
    private String unit;

    /** 面额计量单位，100、10，一般为交易所的手数跟交易单位的倍数 */
    @Excel(name = "面额计量单位",cellType = Excel.ColumnType.MONEY,scale = 4)
    private BigDecimal exchangeUnit;

    /** 上市日期 */
    @Excel(name = "上市日期")
    private String lDate;

    /** 到期日期 */
    private String lastDate;

    /** 导入管道 */
    private BigDecimal pipeId;

    /** 导入日期 */
    private String impDate;

    /** 导入时间 */
    private String impTime;

    public void setiCode(String iCode)
    {
        this.iCode = iCode;
    }

    public String getiCode()
    {
        return iCode;
    }
    public void setaType(String aType)
    {
        this.aType = aType;
    }

    public String getaType()
    {
        return aType;
    }
    public void setmType(String mType)
    {
        this.mType = mType;
    }

    public String getmType()
    {
        return mType;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCountry(String country)
    {
        this.country = country;
    }

    public String getCountry()
    {
        return country;
    }
    public void setCurrency(String currency)
    {
        this.currency = currency;
    }

    public String getCurrency()
    {
        return currency;
    }
    public void setqType(String qType)
    {
        this.qType = qType;
    }

    public String getqType()
    {
        return qType;
    }
    public void setpClass(String pClass)
    {
        this.pClass = pClass;
    }

    public String getpClass()
    {
        return pClass;
    }
    public void setpType(String pType)
    {
        this.pType = pType;
    }

    public String getpType()
    {
        return pType;
    }
    public void setsType(String sType)
    {
        this.sType = sType;
    }

    public String getsType()
    {
        return sType;
    }
    public void setuICode(String uICode)
    {
        this.uICode = uICode;
    }

    public String getuICode()
    {
        return uICode;
    }
    public void setuAType(String uAType)
    {
        this.uAType = uAType;
    }

    public String getuAType()
    {
        return uAType;
    }
    public void setuMType(String uMType)
    {
        this.uMType = uMType;
    }

    public String getuMType()
    {
        return uMType;
    }
    public void setTradeCode(String tradeCode)
    {
        this.tradeCode = tradeCode;
    }

    public String getTradeCode()
    {
        return tradeCode;
    }
    public void setTradeName(String tradeName)
    {
        this.tradeName = tradeName;
    }

    public String getTradeName()
    {
        return tradeName;
    }
    public void setSettleType(String settleType)
    {
        this.settleType = settleType;
    }

    public String getSettleType()
    {
        return settleType;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setExchangeUnit(BigDecimal exchangeUnit)
    {
        this.exchangeUnit = exchangeUnit;
    }

    public BigDecimal getExchangeUnit()
    {
        return exchangeUnit;
    }
    public void setlDate(String lDate)
    {
        this.lDate = lDate;
    }

    public String getlDate()
    {
        return lDate;
    }
    public void setLastDate(String lastDate)
    {
        this.lastDate = lastDate;
    }

    public String getLastDate()
    {
        return lastDate;
    }
    public void setPipeId(BigDecimal pipeId)
    {
        this.pipeId = pipeId;
    }

    public BigDecimal getPipeId()
    {
        return pipeId;
    }
    public void setImpDate(String impDate)
    {
        this.impDate = impDate;
    }

    public String getImpDate()
    {
        return impDate;
    }
    public void setImpTime(String impTime)
    {
        this.impTime = impTime;
    }

    public String getImpTime()
    {
        return impTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("iCode", getiCode())
            .append("aType", getaType())
            .append("mType", getmType())
            .append("name", getName())
            .append("country", getCountry())
            .append("currency", getCurrency())
            .append("qType", getqType())
            .append("pClass", getpClass())
            .append("pType", getpType())
            .append("sType", getsType())
            .append("uICode", getuICode())
            .append("uAType", getuAType())
            .append("uMType", getuMType())
            .append("tradeCode", getTradeCode())
            .append("tradeName", getTradeName())
            .append("settleType", getSettleType())
            .append("unit", getUnit())
            .append("exchangeUnit", getExchangeUnit())
            .append("lDate", getlDate())
            .append("lastDate", getLastDate())
            .append("pipeId", getPipeId())
            .append("impDate", getImpDate())
            .append("impTime", getImpTime())
            .toString();
    }
}
